package com.axzhengxin.platform.business.service;

import com.axzhengxin.platform.business.domain.*;
import com.axzhengxin.platform.homePage.domain.SearchParams;
import com.axzhengxin.platform.homePage.domain.StatisticData;
import com.ruoyi.common.core.domain.AjaxResult;

import java.util.List;

public interface IBizFlowInfoService {
    /**
     * 分发
     *
     * @param userId
     * @param reqId
     * @param flowUid
     * @return
     */
    int distributeApply(String userId, String reqId, String flowUid);

    /**
     * 获取历史记录
     *
     * @param reqId
     * @param flowUid
     * @return
     */
    Record getRecordList(String reqId, String flowUid);

    /**
     * 审核
     * @param bizFlowTask
     * @return
     */
    AjaxResult auditing(BizFlowTask bizFlowTask);

    /**
     * 退回
     *
     * @param flowUid
     */
    void getBackApply(String flowUid);

    /**
     * 收回
     *
     * @param flowUid
     */
    void backApply(String flowUid);

    List<BizApplyGuaranteePledgeRelative> getGuaranteeList(String reqId);

    FspCorInfBusiness getCustomerDetail(String customerId);

    int getTaskAgentCount(SearchParams searchParams);

    List<StatisticData> getAuditingStatistic();


}
